package com.dianping.cat.consumer.business.model.transform;

import com.dianping.cat.consumer.business.model.IVisitor;
import com.dianping.cat.consumer.business.model.entity.BusinessItem;
import com.dianping.cat.consumer.business.model.entity.BusinessReport;
import com.dianping.cat.consumer.business.model.entity.Segment;

public abstract class BaseVisitor
  implements IVisitor {
  public void visitBusinessItem(BusinessItem businessItem) {
/* 11 */     for (Segment segment : businessItem.getSegments().values()) {
/* 12 */       visitSegment(segment);
    }
  }


  public void visitBusinessReport(BusinessReport businessReport) {
/* 18 */     for (BusinessItem businessItem : businessReport.getBusinessItems().values())
/* 19 */       visitBusinessItem(businessItem); 
  }

  public void visitSegment(Segment segment) {}
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-consumer-3.0.0.jar!/com/dianping/cat/consumer/business/model/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */